<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{/common/header(title='我的好友')}"></head>
<body>
<p>

    <a th:href="@{/}">我的状态</a>|我的好友<br/>
    历史排行.<a href="#">成就排行</a>.<a href="#">修炼状态</a><br/>
    排行|昵称|等级<br/>
    <th:block th:each="relation : ${relations}">
            [[${relationStat.count}]].<a th:href="@{/relation/status/}">[[${relation.friendName}]]</a>([[${relation.friendLevel}]]级)<br/>
    </th:block>
    <th:block th:if="${relations.size() == 0}">暂时没有好友！<br/></th:block>
    <br/>
<div th:replace="~{common/footer::#nav-footer}"></div>
</p>
</body>
</html>